@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
  // 处理默认打开页面分页位置闪动问题
  height: calc(100vh - 84px);
}

.da{
  display: flex;
  align-items: center;
}

.db{
  display: flex;
  justify-content: space-between;
}

.dab{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dac{
  display: flex;
  align-items: center;
  justify-content: center;
}

.daj{
  display: flex;
  align-items: center;
  justify-content: center;
}

// 给盒子前面加一个 *，代表必填
.redCheck::before {
  content: '*';
  color: #f56c6c;
  margin-right: 4px;
}

// 单行省略号
.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

// 限制tooptip最宽为80vw
.el-tooltip__popper {
  max-width: 80vw !important;
}